package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 楼栋管理对象 building
 * 
 * @author ruoyi
 * @date 2024-08-08
 */
public class Building extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 楼栋id */
    private Long budId;

    /** 楼栋名称 */
    @Excel(name = "楼栋名称")
    private String budName;

    /** 楼栋位置 */
    @Excel(name = "楼栋位置")
    private String budLoc;

    /** 商业区id */
    @Excel(name = "商业区id")
    private Long busId;

    private Business business;

    public Business getBusiness() {
        return business;
    }

    public void setBusiness(Business business) {
        this.business = business;
    }

    public void setBudId(Long budId)
    {
        this.budId = budId;
    }

    public Long getBudId() 
    {
        return budId;
    }
    public void setBudName(String budName) 
    {
        this.budName = budName;
    }

    public String getBudName() 
    {
        return budName;
    }
    public void setBudLoc(String budLoc) 
    {
        this.budLoc = budLoc;
    }

    public String getBudLoc() 
    {
        return budLoc;
    }
    public void setBusId(Long busId) 
    {
        this.busId = busId;
    }

    public Long getBusId() 
    {
        return busId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("budId", getBudId())
            .append("budName", getBudName())
            .append("budLoc", getBudLoc())
            .append("busId", getBusId())
            .append("business", getBusiness())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
